'use strict';


module.exports = app => {
  const { router, controller } = app;// 结构
  const url = '/api/admin/mall/category'; // 开启路由前缀
  router.delete(`${url}`, controller.admin.mallCategory.destroy);

  router.resources(`${url}`, controller.admin.mallCategory);

};
